// components/test2/test2.js
const myBehavior = require('../../behaviors/my-behaviors')
Component({
  behaviors: [myBehavior],
  options: {
    multipleSlots: true
  },
  properties: {
    count: Number
  },
  data: {
    testNum: 1
  },
  methods: {
    addCount() {
      this.triggerEvent('change-count', { count1: this.properties.count + 3 })
    }
  }
})
